Update buld-depends
authorAnton Gladky <gladk@debian.org>
Sat, 25 Mar 2023 14:34:03 +0000 (15:34 +0100)
committerAnton Gladky <gladk@debian.org>
Sat, 25 Mar 2023 14:34:03 +0000 (15:34 +0100)
debian/control
debian/rules

index e742fd6dbfbe970af76f3d43003da372b612fbab..cbe6fab1c7c8ce1f7a9b2db8a8e2680789383279 100644 (file)
@@ -26,11 +26,11 @@ Build-Depends: chrpath,
                libdouble-conversion-dev,
                libeigen3-dev,
                libexpat-dev,
-               libfontconfig1-dev,
-               libfreetype6-dev,
+               libfontconfig-dev,
+               libfreetype-dev,
                libftgl-dev,
                libgdal-dev,
-               libgl1-mesa-dev | libgl-dev,
+               libgl-dev,
                libgl2ps-dev (>= 1.4.1),
                libglew-dev,
                libglu1-mesa-dev | libglu-dev,
@@ -99,9 +99,9 @@ Depends: ${misc:Depends},
          libdouble-conversion-dev,
          libeigen3-dev,
          libexpat-dev,
-         libfreetype6-dev,
+         libfreetype-dev,
          libgdal-dev,
-         libgl1-mesa-dev | libgl-dev,
+         libgl-dev,
          libgl2ps-dev,
          libglew-dev,
          libglu1-mesa-dev | libglu-dev,
index 92c1d78273c3adf7bbb5ae24cd270f6766c44efc..1319d2d8ee02c41aa19e132bdc7f95e052802cd1 100755 (executable)
@@ -109,5 +109,7 @@ execute_after_dh_install:
        find $(CURDIR)/debian/tmp/usr/share/doc/vtk-9.0/doxygen -name "_formulas.log" -exec rm {} \; || true
        find $(CURDIR)/debian/build/Utilities/Doxygen/doc/html -name "_formulas.log" -exec rm {} \; || true
 
+# Fix privacy breach
 execute_after_dh_installdocs-indep:
        find $(CURDIR)/debian/vtk9-doc/ -type f -print0 | xargs -0 sed -i 's/https:\/\/raw\.githubusercontent\.com//g'
+       find $(CURDIR)/debian/vtk9-doc/ -type f -print0 | xargs -0 sed -i 's/https:\/\/cdn\.jsdelivr\.net\/npm\/mathjax@2/\/usr\/share\/javascript\/mathjax/g'